﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SimpleUnitity.Cache
{
    public interface ICache
    {
        void Clear();

        bool Exists(string key);

        void Set(string key, object value);

        object Get(string key, object defaultValue = null);

        void Remove(string key);

        ICollection<string> Keys { get; }

    }
}
